<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html >
<html>
	<head>
		<title>店面管理</title>
		<t:base type="jquery,easyui,tools,DatePicker,autocomplete,bootsprap,layer"></t:base>
		<link href="webpage/dop/css/storefront.css" type="text/css" rel="stylesheet">
	    <link href="webpage/dop/map/css/dopmap.css" type="text/css" rel="stylesheet">
	    
	</head>
<body>
	<table id="dop_datagrid_storefront" toolbar="#dop_datagrid_storefront_toolbar"></table>
	<div style="margin:5px; border:0;" id="dop_datagrid_storefront_toolbar">
		<table class="table table-striped table-hover table-condensed dop-table-storefront" id="dop_table_storefront_query">
			<tr>
				<th>店面名称：</th>
				<td><div><input code="stoName"></div></td>
				<th>店面地址：</th>
				<td><div><input code="stoAddress"></div></td>
				<th>所属商户：</th>
				<td><div><select code="restaurantId"></select></div></td>
			</tr>
			<!--  
			<tr>
				<th>营业开始时间：</th>
				<td><div><input code="stoStartTime" class="Wdate" onFocus="WdatePicker({dateFmt:'HH:mm'})"></div></td>
				<th>营业结束时间：</th>
				<td><div><input code="stoEndTime" class="Wdate" onFocus="WdatePicker({dateFmt:'HH:mm'})"></div></td>
				
			</tr>
			-->
		</table>
		<div class="btn btn-default dop-btn" id="dop_btn_storefront_add"><i class="icon-plus"></i>新增</div>
		<div class="btn btn-default dop-btn" id="dop_btn_storefront_modify"><i class="icon-pencil"></i>修改</div>
		<div class="btn btn-default dop-btn" id="dop_btn_storefront_delete"><i class="icon-ban-circle"></i>废弃</div>
		<div class="btn btn-default dop-btn" id="dop_btn_storefront_open"><i class="icon-ok"></i>启用</div>
		<div class="btn btn-default dop-btn" id="dop_btn_storefront_stop"><i class="icon-remove"></i>停用</div>
		<div class="btn btn-default dop-btn" id="dop_btn_storefront_query"><i class="icon-search"></i>查询</div>
	</div>
	<div id="dop_storefront_add_panel">
		<table class="table table-striped table-hover table-condensed dop-table-storefront dop-table-storefront-panel">
			<tr>
				<th>名称：</th>
				<td style="float:left;width:300px;"><input id="searchName"></td>
				<td style="float:left;width:300px;"><div class="btn btn-default dop-btn" id="searchBtn"><i class="icon-search"></i>搜索</div></td>
			</tr>
		</table>
		<div id="dop_storefront_map_panel">
		</div>
		<table class="table table-striped table-hover table-condensed dop-table-storefront dop-table-storefront-panel">
			<tr>
				<th>店面名称：</th>
				<td><div><input id="stoName"></div></td>
				<th>店面地址：</th>
				<td><div><input id="stoAddress"></div></td>
				<th style="display: none;">店面坐标：</th>
				<td style="display: none;"><div><input id="stoCoordinate"></div></td>
			</tr>
			<tr>
				<th>营业开始时间：</th>
				<td><div><input id="stoStartTime" class="Wdate" onFocus="WdatePicker({dateFmt:'HH:mm'})"></div></td>
				<th>营业结束时间：</th>
				<td><div><input id="stoEndTime" class="Wdate" onFocus="WdatePicker({dateFmt:'HH:mm'})"></div></td>
				<th>所属商户：</th>
				<td><div><select id="restaurantId"></select></div></td>
			</tr>
		</table>
		
		<div class="pull-right" style="margin:5px 10px 0 0;">
			<div class="btn btn-default" id="dop_storefront_add_panel_ok"><i class="icon-ok"></i>确定</div>
			<div class="btn btn-default" id="dop_storefront_add_panel_cancel"><i class="icon-remove"></i>取消</div>
		</div>	
	</div>
	
	<script type="text/javascript"
		src="http://api.map.baidu.com/api?v=2.0&ak=szTBW9236HO8EDCYuk4xQlP4"></script>
	<script type="text/javascript"
		src="http://api.map.baidu.com/library/DrawingManager/1.4/src/DrawingManager_min.js"></script>
	<script type="text/javascript" src="webpage/dop/map/js/expdopmap.js"></script>
	<script type="text/javascript" src="webpage/dop/js/storefront.js"></script>
</body>
</html>